package demo2;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Stack;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86185
 * Date: 2023-04-02
 * Time: 10:49
 */
public class Test {
    public static void main(String[] args) {
        SeqList seqList = new SeqList();
        try {
            seqList.add(1);
            seqList.add(1);
            seqList.add(1);
            seqList.add(1);
            seqList.add(1);
            seqList.add(1);
        } catch (PosOutException e){
            e.printStackTrace();
        }

    }
    public static void main1(String[] args) {
        List<Integer> stack = new Stack<>();
        List<Integer> arrayList = new ArrayList<>();
        List<Integer> linkList = new LinkedList<>();

    }
}
